package com.zmzncs.lmtc.module.order.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecord;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecordDTO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 订单-订单交易记录 Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-09-24
 */
@Repository
public interface OrderTradeRecordDao extends BaseMapper<OrderTradeRecord> {

    /**根据交易流水号查询订单交易记录*/
    OrderTradeRecordDTO getByTradeNo(String tradeNo);

}
